package com.yywz;

public class AssertTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int i = 0;
		for(i=0;i<5;i++){
		//	System.out.println(i);
		}
		
		assert i == 1 : "程序出错了";
		System.out.println("断言测试");
	}

}
